package org.nutz.weixin.spi;


/**
 * 账号管理
 * 
 * @author ixion
 *
 */
public interface WXAccountApi {

	public static enum Type {
		TEMP("QR_SCENE"),
		EVER("QR_LIMIT_SCENE"),
		EVERARGS("QR_LIMIT_STR_SCENE");

		private String value;

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}

		private Type(String value) {
			this.value = value;
		}

	}

	WxResp createQRTicket(long expire, Type type, int id);

	WxResp createQRTicket(long expire, Type type, String str);

	String qrURL(String ticket);

}
